package com.leyou.dao;

import com.leyou.pojo.Stock;
import org.apache.ibatis.annotations.Update;
import tk.mybatis.mapper.common.Mapper;

public interface StockMapper extends Mapper<Stock> {
    @Update("update tb_stock set stock=#{stock} where sku_id=#{sku_id}")
    void update(Integer skuId, Integer stock);
}
